package com.woniuxy01;

import java.util.Scanner;

/**
 * @author 作者
 * @create 2025-06-06 10:37
 */
public class StudentTest {

    public static void main(String[] args) {
        //输入用户名，密码，验证
        Scanner sc = new Scanner(System.in);
        System.out.println("输入用户名:");
        String name = sc.next();
        System.out.println("输入密码:");
        String pwd = sc.next();
        try {
            Student student = StudentService.login03(name, pwd);
            System.out.println("ok，"+student);
        }catch (Exception e) {
            System.out.println(e.getMessage());
        }

    }

}
